package com.lyn.seckill.service;

import com.lyn.seckill.common.error.BusinessException;
import com.lyn.seckill.service.model.UserModel;

public interface UserService {
    void register(UserModel userModel) throws BusinessException;

    UserModel getUserById(Integer ID);

    UserModel validateLogin(String telephone, String encryptPassword) throws BusinessException;
}
